<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
</head>
<body>
    <script>
         window.setInterval(() => {
      location.href = "./05.js中的BOM对象.html";
    }, 3000);
    alert("启动！！！")
    confirm("三秒后为您重新启动~~~")

    </script>
</body>
</html>